* {
 font-size: 100%;
 font-family: 'DejaVu Sans';
}

html{
    background-image: -moz-linear-gradient(bottom, #adadad, #d9d9d9);
    background-image: linear-gradient(to bottom,#adadad,#d9d9d9);
    background: url('../Images/Icons/back.png') repeat-x fixed left top;
}

a{
     outline-style: none;
}

header{
    background-color: rgba(0, 0, 0, 0.00);
}

ul, li {
margin: 0;
padding: 0;
}

/* Style du footer */

footer{
	padding: 3em;
	color: white;
	background-color: black;
	height: 15em;	
}

footer a{
	font-weight: bold;
	color: white;
	text-decoration: none;
}

footer a[hover]{
	color: white;
	cursor: pointer;	
}

footer > table{
    display: inline-block;
    vertical-align: top;
    margin: 0px 10px 0px 10px;
}

footer td{
    padding: 10px 0px 10px 0px;
}

/* Fin style footer*/

body{
   margin: auto;
   padding: 0;
	width: 1500px;
}

#main_content{
    background-color: white;
    box-shadow: 1px 1px 15px #555;
    margin: 0;
    width: 100%;
}


/* Bloc du champ de recherche */

#search_menu{
	height: 4em;	
    width: 100%;
	background-color: #444444;
}

#loc_submenu{
    position: absolute;
    margin-top:-10px;
    margin-left:-10px;
    color: white;
    background-color: #58c900;
    height: 50px;
    box-shadow: -2px -2px 20px #444;
    padding: 5px;
}

#loc_submenu:hover{
    cursor: pointer;
}

.search_elem{
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    height: 40px;
    
}

#search_submenu{
	display: inline-block;
    position: relative;
    left: 50%;
    top: 15%;
    font-size: 0;
}

#search_block{
    width: 190px;
}

#search_field{
    padding-left: 10px;
    margin: 0;
    border: none;
    outline: 0px none;
    width: 100%;
    font-size: 15px;
    padding-right: 50px;
    position: relative;
}

#search_field:focus{
     border: 1px solid #9FC6FF;
     box-shadow:2px 2px 20px #4090ff; 
    -moz-box-shadow:2px 2px 20px #4090ff;
    -webkit-box-shadow:2px 2px 20px #4090ff;
      
}

#search_button{
    position: absolute;
    top: 2px;
    left: 152px;
    margin: 0;
    width: 36px;
    height: 35px;
    background-color: white;
    background-image: url('../Images/Icons/search2.png');
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 35px 35px;
    outline: none;
    border-style: none;
}

#search_button:hover{
    cursor: pointer; 
}


#search_cat{
    width: 120px;
    margin-left: 10px;
    background-color: white;
}

#search_cat:hover{
    cursor: pointer;
}

#styled_select{
    display: inline-block;
    position: relative;
    width: 75%;
    font-size: 15px;
}

#styled_select > select{
    width: 136%;
    height: 100%;
    padding: 7px 5px 5px 5px;
    outline: none;
    border-style: none;
    color: #4a4a4a;
    background-color:white;
}

#styled_select > select:hover{
    cursor: pointer;
}

#select_arrow{
    background-color: white;
    background-image: url('../Images/Icons/arrow.png');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 96px;
    width: 25px;
    height: 30px;
    top: 5px;
    pointer-events: none;
}

/* Fin du bloc du champ de recherche */

#site_title{
    display: inline-block;
    position: absolute;
    top:30%;
    left: 20%;
    font-size:20px;
    color: white;
    text-shadow: 10px 6px 2px #333;
}

#user_bar{
    position: relative;
    height: 80px;
    margin: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.00);
}

#user_bar>a{
    text-decoration: none;
}

#site_title:hover{
    cursor: pointer;
}

/* Popup d'ajout au panier*/

#cart_popup{
    position: absolute;
    height: 100%;
    width:100%; 
    left: 0;
    top: 0;
    z-index: 150;
    background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.30);
    
}

#popup_content{
    position: absolute;
    width: 53%;
    left: 22%;
    height: 200px;
    background-color: white;
    z-index: 999;
    margin-top: 100px;
    box-shadow: 1px 1px 20px #444;
}

#popup_content>strong{
    position: relative;
    display:inline-block;
    top: 0;
    left: 0;
    width:100%;
    font-size: 30px;
    color: #00c534;
    text-align: center;
    padding: 10px 0px 10px 0px;
}

#cart_popup.visible{
    display: block;
    position: fixed;
}

#cart_popup.nonvisible {
    display: none;
}

#popup_content.visible{
    display: block;
}

#popup_content.nonvisible{
    display: none;
}

#popup_buttons{
    display: inline-block;
    width: 100%;
    margin-top:7%;
}

#popup_buttons>div{
    text-align:center;
    display: inline-block;
    margin-left:12%;
    height: 30px;
    width:32%;
    padding: 12px 0px 10px 0px;
    font-weight: bold;
    font-size: 16px;
    color: White;
    border-color: Black;
    border-width: thin;
    border-style: solid;
}

#popup_buttons>div:hover{
    cursor: pointer;
    box-shadow: 1px 1px 15px #555;
}

#continue_achats{
    background-color: #00c534;
    background-image: url('../Images/Icons/arrow-l.png');
    background-position: left center;
    background-repeat: no-repeat;    
    background-size: 30px 30px;
}

#go_to_cart{
    background-color: #F3782D;
    background-image: url('../Images/Icons/arrow-r.png');
    background-position: right center;
    background-repeat: no-repeat;  
    background-size: 30px 30px;  
}

/* Fin de popup d'ajout au panier*/

/* ----------------------- SECTION MEDIA QUERIES ------------------------- */

/* Style pour les ecrans jusqu'à 1500px de largeur*/
@media all and (max-width: 1500px)
{
    body{
	    width: 1000px;
    }

    #site_title{
        left: 10%;
        font-size:18px;
    }

    #popup_content {
        width: 63%;
        left: 18%;
    }

    #popup_buttons > #continue_achats{
        width: 38%;
        text-align: right;
        padding-right: 5px;
    }
}

/* Style pour les ecrans jusqu'à 1000px de largeur*/
@media all and (max-width: 1000px)
{
    body{
	    width: 700px;
    }

    #site_title{
        top: 20%;
        left: 2%;
        font-size:15px;
        width: 50%;
    }

    #search_submenu{
        margin-left: 0%;
        margin-right: 1em;
        left: 40%;
    }

    #popup_content {
        width: 89%;
        left: 5%;
    }

    #popup_buttons > #continue_achats{
        width: 41%;
        text-align: right;
        padding-right: 5px;
    }
}

/* Style pour les ecrans jusqu'à 700px de largeur*/
@media all and (max-width: 700px)
{
    body{
	    width: 480px;
    }

    #site_title{
        top: 15%;
        left: 2%;
        font-size:15px;
        width: 40%;
    }

    #search_submenu{
        margin-left: 0%;
        margin-right: 1em;
    }

    #search_block{
	    width: 150px;
    }

    #search_button{
        left: 110px;
    }

    #popup_content {
        width: 70%;
        left: 15%;
        height: 300px;
    }

    #popup_buttons > #continue_achats{
        width: 70%;
        text-align: right;
        padding-right: 5px;
    }

    #popup_buttons > #go_to_cart {
        width: 70%;
        display: block;
        margin-top: 10px;
    }
}

/* Style pour les ecrans jusqu'à 480px de largeur*/
@media all and (max-width: 480px)
{
    html{
        width:100%;
    }

    body{
        margin: 0;
        min-width: 320px;
        max-width: 480px;
	    width: auto;
    }

    #search_cat{
        display: none;
    }

    #loc_submenu{
        margin-left:0;
    }

    #site_title{
        top: 5%;
        left: 2%;
        font-size:12px;
        width: 37%;
    }

    #search_submenu{
        left:  50%;
        margin-right: 0;
    }

    #popup_content {
        width: 87%;
        left: 7%;
        height: 300px;
    }

    #popup_buttons > #continue_achats{
        width: 81%;
        text-align: right;
        padding-right: 5px;
    }

    #popup_buttons > #go_to_cart {
        width: 80%;
        display: block;
        margin-top: 10px;
    }
}
